package com.hoshiicloud.payment.param;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 查询支付方式配置信息参数
 * </p>
 *
 * @author Mr.wu
 * @since 2019-05-13
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询支付方式配置信息", description = "查询支付方式配置信息")
public class PaymentQueryParam extends PageParam {

    @ApiModelProperty(value = "主键Id")
    private Integer id;
    @ApiModelProperty(value = "支付方式的英文缩写:alipay,weixin")
    private String payCode;
    @ApiModelProperty(value = "支付方式名称")
    private String payName;
    @ApiModelProperty(value = "是否可用，0，否；1，是")
    private Boolean enabled;
    @ApiModelProperty(value = "是否货到付款，0，否；1，是")
    private Boolean isCod;
    @ApiModelProperty(value = "是否在线支付，0，否；1，是")
    private Boolean isOnline;
    @ApiModelProperty(value = "公司ID")
    private Long companyId;
    @ApiModelProperty(value = "平台ID")
    private Long platformId;
    @ApiModelProperty(value = "店铺ID")
    private Long storeId;
}
